Pro spuštění kódu stáhněte z https://www.rstudio.com/products/rstudio/ software RStudio, díky kterému můžete kódy otevřít a poté je spustit.